User login backend - Added a validator. Fixed UI