Added before filter for autherization