Implemented authentication using database.
Signed-off-by:Matthew Scaperoth <mscapero@gwu.edu>