fixed carrierwave and login issues