integrating user class
integrating login code