Login is now safely implemented using signals and slots.
Minor changes to the View to get it ready to work with the server more to come.