FIxed display and redirect for login