added user model and tested login