Deleted redundant code, fixed sign out link