Registration and Login form in PHP and MySQL, with error handling. Show password using JavaScript and display user name on the header after login, using PHP Session.