commit login and register module