Added a util routes method and some login stuff to authentication