fixed next reddit
setting up login/logout