Removed logging and improved redirect when entering the site