Better all around and attempt at POST
Working version for registration