fixed SQL Query in login class
removed getUsernameById && getIdByUsername from the user class and updated any references to them