created view for registering users