Made verify authentication work. This way I don't have to log in and logout between reloads