Subclassing implemented

Major changes to the design of login / signup and general schematic