user view

started adding logic to user view for authentication