CHANGED:update the login with project selection function;