Sanitizing username inside login method to prevent SQL-injection.