Restaurant discount, User profile and code improvements