htacces for web api, db setup updated