Fixed dashboard view and user model errors