Clean up accessing form elements on login