More initial building

Inclusion of reset password, also improvements to AJAX requesting.