Function for adding new user