User_details tables added and tests added