fixed empty page after logging in