add config for mobile
modify redirect page when user not logged in