Just one comment regarding security. The less information you provide in the error message when authenticating the better.
You provide two different messages depending if the email exists or not:
a) If it doesn’t exist you clearly state that there is no user with that email in the DB
b) If it does exist but password is wrong you alert that either email or password are wrong which kind of contradicts a) because we know the email exists
So better to go in all error cases with the simple alert that username or password are invalid. That way a brute force attacker doesn’t know if the email exists thus making it a bit more difficult for him.
Besides my security comment, your teacherr app looks very nice
Congrats.
Jon
New post! Nested tabs - custom states vs parameters
In this post i will show you how to create nested tabs using parameters. As you may already know, custom states are valid UNTIL the page is refreshed. Using parameters you can keep the same view and the same data even if the page is refreshed. Please see below the final result