added specs for login dialog view