Fixed sleep_diary issues at least with database and viewing of shit. Probably need to fix redirect after valid input