added register and login module