edited post model, views and devise handling.