[x] New backend feature: return a JSON response and an HTTP code to front end after form submission.
[x] New frontend feature: in index page, at login/register form, display the response after form submission, and clear the displayed message box when appropriate
How Has This Been Tested?
[x] Manual examination on the page /index using Chrome
While testing, found an issue where the application failed to run correctly after deployment.
The reason is that the requirements.txt file was not updated.
[x] Solution: Make sure requirements.txt file is updated after merging this pull request.
Description
Integrated register/login form server response.
Type of change
How Has This Been Tested?
/index
using Chrome