Logout button and function.
show edit buttons for user after login