ADD Session logic in page home,login,and register