Edited newPost and register views