Fixed logging out when refresh bug
Log in issues fixed