Removed oauth plugin
Updated login function