reflection api and login form