added inital auth.py

used to authenticate users against the database.