added database to project, plus added login validation...