fixes bug with user controller; adds view for users