login / registration tweaked and bugs fixed