Track user logging in successfully

`SyntaxError: missing identifier in catch`
Needs to be `catch (e)`.
Check out this cool site I found: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch#Unconditional_catch_clause