added specs for login dialog model