Removes login init function