added mobile portal support