create Session Controller, Session Model and check sign-in session when
redirect to Main page