add htaccess
link services to database