Improves login and register form