Added dynamic inded page based on user status