modified current_user and added current_cart in application controller