Finished Authentication mechanisms and database work