make validation async

This modifies the controller so validation of user login occurs fully asynchronously