Fixed Login function to show logout if user is ligged in.
Added slug and to_param methods to products.
Creating slug methods. Currently does not save the slug.