finish the module of login