assignment check the login