added basic functionality for user signup and view