Fixed authentication issue
Removed redundant method