Implemented RN5 Authentication