added profile and signout functions
added admin permissions to index page