Fixing links
Adding complete login/logout functionality