added views for client and user