improved the login envirement