This PR does the following: It adds loading animation and toasts error messages on sign up. It also features email validator which displays custom error messages for invalid email inputs. On successful sign-up, it navigates to the User Dashboard and removes all previous activities from the backstack. Also implemented an intent to navigate to the LoginActivity when the login text is clicked.
Essential Checklist
[x] The PR title starts with "Fix #bugnum: ", followed by a short, clear summary of the changes. (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
[x] "Allow edits from maintainers" is checked. (See here for instructions on how to enable it.)
[x] The PR is made from a branch that's not called "main/master".
Overview
Essential Checklist
Proof that changes are correct