Dialogs for user login/registration

These are pretty sloppy, they only appear one after the other, to allow being validated singularly.

Password box does not hide password, too difficult to implement, and not mentioned in assignment specs.