Add exception raising when not authenticated