removed back link from ads/new
fixed the login from other pages issue
fixed weird alert display issue on chrome
sintax changes