Added forms for login actions + some refactoring to required user actions