gets data back from the database
Post merge from Keir master
5pm push yippeeeee