Implement log-in view business logic (#65)