add login control

remove not needed classes