refactor authentication with postal and stamp it