refactoring for login
refactoring for login
finished server side login
fixup for sever, implement client side login
implement toastr - broken for now
implement toastr - broken for now