refactored views for user