bug fixes. Can recieve registration POST request