Fixed login/out/registration logic
removed unneeded files