fixed sql, working booking listing and login api