Fix for login form