Fix missing sql params for user login