Add delete profile function and correctly register user functionality