Got rid of unneccessary functions for the login/logout/view navigation.