Plugin mysql db for auth