add accessing to mysql db