added login and registration pages