Edited post authentication redirect

Instead of going back to home with serverBag and local php server dependent data, we just use the url referer.
(It works)