some changes of structure
including auth
registration file
some modifications