Login controller implementation
Merge