Missing SQL

- Added missing sql for login