rough login model