changing passw to password and uname to username, adding authentication and log in log out procedures. Just need a little bit modification fo place of the bottuns