Posting score to database