Reconnecting AWS for pics. Fixed the logout route problem