Logout functionallity added - returns user to login page.