log in view for main layout started