I'm working on pset 7, the problem I'm having is that even when i query for username in database, it still tries to register the user and goes to the login screen, heres the code I'm using -
code removed as per course honours policy.
What am I doing wrong please?