user model added, login, logout added