Most user database code added. Not fully working yet.