sign out button is now working, also added refresh button on main page