partially implemented myaccount, added toastr, improved user login handling