Adding basic function for UserView