changed login method and view plans