Added logout and user model manager