removing hash always from address barr
setting domain and path to the cookie