Authorization system working very fine in both sides