Check if user exists when reloading page