implemenation of availability tab page finished