changed dao for login