added code coverage
improved coverage for user model