added foreign key from location to user, fixed that db bug