Added function for adding user