Added postIndex() and getLogout()