create filter for params for user and create form partial so it works for both edit and new routes