base version of login module