rails implementation for editing users