ruby test mysql database module :login, register, reset_password