Moved authentication stuff to a new project