Improved login process.
Clears the login fields when log in happens.