Logout function+link added