Sleep, anxiety and the effects on cognition