User Login View Controller logic optimized