Smart urinal automatically measures hydration levels