I'd prefer if you passed email and password arguments explicitly instead of passing in the entire params hash