added token verification for registering users
moved my functions to utils class
did some refactoring
added htaccess