Login working and default view