Some improvements in the redirect system when authenticating
Changed styles and some bug fixes