Add save function for user
Clean code